<!--#include file="../nav/top.php" -->
<style type="text/css">
.toprightbg{
background:url(/misc/images/pages/right_huodong.jpg) left top no-repeat;
width:290px;
height:235px;
}
.mycontent_title_c{
background:url(/misc/images/pages/title_cuxiaoxinxi.jpg) left top no-repeat;
}

 
 
 
table.cuxiaotb{
border-collapse:collapse;
width:100%;
}
table.cuxiaotb td{
text-align:left;
vertical-align:top;
}


.cxboxbig{
background:url(/misc/images/home/zazhibigbg.jpg) top left no-repeat;
height:317px;
width:263px;
overflow:hidden;
position:relative;
}
.cxboxbig_title{
color:#FFFFFF;
position:absolute;
top:20px;
font-size:50px;
width:230px;
text-align:center;
}

.cxboxbig_pic{
position:absolute;
top:7px;
left:16px;
z-index:1;
}


.cxbox{
background:url(/misc/images/home/zazhismallbg.jpg) top left no-repeat;
height:177px;
width:146px;
overflow:hidden;
float:left;
margin:0 10px 0 10px;
position:relative;
}

.cxbox_title{
color:#FFFFFF;
position:absolute;
top:20px;
font-size:28px;
width:130px;
text-align:center;
}
.cxbox_pic{
position:absolute;
top:6px;
left:7px;
z-index:1;
}


#one_content{
margin:10px auto;
}
</style> 
<div class="toprightbg_out">
	<div class="toprightbg">	</div>
</div>
<div class="mycontent">

	<div class="mycontent_title_out">
		<div class="mycontent_title_c">
			<div class="mycontent_title_h1">期刊杂志</div>
			<div class="mycontent_title_h2">Magazine</div>
		</div>
		<div class="mycontent_title_line">		</div>
	</div>
	
	<?PHP
	if(count($rs_list) > 0){
	?>
	<div style="margin:10px auto;width:700px;">
		<table class="cuxiaotb">
			<Tr>
				<td style="width:300px;">
					<div class="cxboxbig">
						
						<div class="cxboxbig_pic">
							<div class="cxboxbig_title" id="page_title">{$rs_one.title}</div>
							<img id="one_logo" src="<?PHP echo $themeUrl.$rs_one['logo']; ?>" style="z-index:1;width:230px;height:300px;" />
						</div>
					</div>
				</td>
				<td>
					<div  id="one_content" >
					{$rs_one.content}
					</div>
				</td>
			</Tr>
		</table>
	</div>
	<div class="hengtiao"></div>
	<div style="margin:10px auto;width:700px;position:relative">
		<?PHP
		foreach($rs_list as $k=>$v){
			echo '
			<div class="cxbox">
				<div class="cxbox_pic">
					<div class="cxbox_title">'.$v['title'].'</div>
					<a href="javascript:void(0)" onclick="fnChange('.$k.')"><img src="'.$themeUrl.$v['logo'].'" style="width:130px;height:166px;" /></a>
				</div>
			</div>
			';
		}
		?>
		<div class="clear"></div>
	</div>
	<?PHP
	}
	?>
	<div style="height:50px;"></div>
</div>
<script type="text/javascript">
var rs_list = {json_encode($rs_list)};
function fnChange(k){
	var obj = rs_list[k];
	$('#page_title').html(obj.title);
	$('#one_content').html(obj.content);
	$('#one_logo').attr('src','');
	$('#one_logo').attr('src',baseUrl+obj.logo);
	
}
</script>
<!--#include file="../nav/bottom.php" -->